package com.diy.sigmund.diycommon.designpatterns.factorymethod.pizza1;

/**
 * @author ylm-sigmund
 * @since 2022/1/17 16:04
 */
public class ChicagoStyleCheesePizza extends Pizza {

    public ChicagoStyleCheesePizza() {
        name = "Chicago Style Sauce and Cheese Pizza";
        dough = "Extra Thick Crust Dough";
        sauce = "Plum Tomato Sauce";

        toppings.add("Shredded Mozzarella Cheese");
    }

    /**
     * 将pizza切成正方形
     */
    @Override
    public void cut() {
        System.out.println("Cutting the pizza into square slices");
    }
}
